package com.xiaolong.log.annotation;


import com.xiaolong.log.enums.LogTypeEnum;
import com.xiaolong.log.enums.PlatformEnum;
import com.xiaolong.log.enums.TopicEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Log {
    String module();

    String function();

    LogTypeEnum logType() default LogTypeEnum.OPERATE;

    TopicEnum topic() default TopicEnum.OTHER;

    PlatformEnum platform() default PlatformEnum.UNKNOWN;
}
